<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>	
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<!-- 判断：如果用户登陆： 显示欢迎你，退出 -->
	<!-- 判断：如果用户没有登陆： 显示登陆、注册 -->
	<c:if test="${sessionScope.adminInfo != null }">
		欢迎你：${sessionScope.adminInfo.adminName }&nbsp;
		<a href="javaScript:void(0)">退出</a>
		<a href="/emp_viewAdd">添加员工</a>
	</c:if>
	<c:if test="${sessionScope.adminInfo == null }">
		<a href="/login.jsp">登录</a>
		<a href="/register.jsp">注册</a>
	</c:if>
</body>
</html>